package com.thinkingstar.iads.datacenter.entity;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Table;

import com.thinkingstar.iads.common.entity.AbstractEntites;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/***
 * @ClassName: dc_project_widget
 * @Description: 数据中心_项目_非结构化数据资料控件描述信息表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("数据中心_项目_非结构化数据资料控件描述信息表")
@Table("dc_project_widget")
public class DcProjectFieldWidget extends AbstractEntites implements Serializable{
	
	@Comment("表名")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String table_name;
	
	@Comment("字段名")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 100)
	protected String field_name;
	
	
	@Comment("字段备注")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 100)
	protected String field_comment;
	
	@Comment("控件类型")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String widget_type;
	
	@Comment("控件默认值")
	@Column
	@ColDefine(type = ColType.VARCHAR,width = 255)
	protected String default_value;
	
	@Comment("控件长度")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 50)
	protected String widget_length;
	
	@Comment("排序规则")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String order_num;
	
	@Comment("是否显示控件表单")
	@Column
	@ColDefine(type = ColType.BOOLEAN, width = 10)
	protected Boolean is_show;

}
